<?php

namespace app\api\model;

use constant\config;
use think\Model;

class DiagnosticRelation extends Model
{
    protected $table = 'diagnostic_relation';
    protected $connection='database.zong';

    public function diagnosticField()
    {
        return $this->hasOne('diagnostic_field', 'id','position');
    }






}
